﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.ExpressApp.DC;
using DevExpress.Persistent.Base;
using DevExpress.Xpo;
using DevExpress.Persistent.Validation;
using System.ComponentModel;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.SystemModule;
using DevExpress.Persistent.Base.General;
using DevExpress.ExpressApp.Editors;
using System.Drawing;
using DevExpress.Data.Filtering;
using System.Xml;

namespace DomainComponents.Common {
    [DomainComponent]
    [ImageName("BO_Scheduler")]
    [XafDefaultProperty("Subject")]
    public interface IPersistentEvent : IEvent {
        new string Subject { get; set; }
        [FieldSize(4000)]
        new string Description { get; set; }
        [System.ComponentModel.DisplayName("Start Date/Time"), Custom("DisplayFormat", "{0:G}"), Custom("EditMask", "G")]
        new DateTime StartOn { get; set; }
        [System.ComponentModel.DisplayName("End Date/Time"), Custom("DisplayFormat", "{0:G}"), Custom("EditMask", "G")]
        new DateTime EndOn { get; set; }
        new bool AllDay { get; set; }
        new string Location { get; set; }
        new int Label { get; set; }
        new int Status { get; set; }
        [Browsable(false)]
        new int Type { get; set; }
        [FieldSize(4000)]
        [Browsable(false)]
        new string ResourceId { get; set; }
        [Browsable(false)]
        new object AppointmentId { get; set; }
    }
}
